<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <!--[if lt IE 9]>
    <script type="text/javascr/laydateipt" src="libs/H-ui.2.1/Lib/html5.js"></script>
    <script type="text/javascript" src="libs/H-ui.2.1/Lib/respond.min.js"></script>
    <script type="text/javascript" src="libs/H-ui.2.1/Lib/PIE_IE678.js"></script>
    <![endif]-->
    <link href="libs/H-ui.2.1/static/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css">
    <link href="libs/H-ui.2.1/static/h-ui/css/H-ui.admin.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" id="style-css" href="css/style.css"/>
    <link href="libs/H-ui.2.1/Lib/icheck/icheck.css" rel="stylesheet" type="text/css">
    <link href="libs/H-ui.2.1/font/iconfont.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="libs/zTree/css/zTreeStyle/zTreeStyle.css" type="text/css">
    <!--时间插件CSS-->
    <link href="libs/layDate-v5.0.2/laydate/theme/default/laydate.css" rel="stylesheet" type="text/css">
    <title>魏县精准扶贫大数据管理云平台</title>
    <meta name="keywords" content="扶贫管理平台">
    <meta name="description" content="扶贫管理平台">
</head>

<body onload="prettyPrint()" class="">
<!-- 身份证插件 -->
<OBJECT classid="clsid:10946843-7507-44FE-ACE8-2B3483D179B7" codebase="CVR100.cab#version=3,0,3,3" id="CVR_IDCard" name="CVR_IDCard" width=0 height=0 align=center hspace=0 vspace=0>
</OBJECT>
<header class="Hui-header cl mccmsa-header">
    <div class="header-logo" style="text-align: center;">
        <span style="font-size: 16px;">魏县精准扶贫大数据管理云平台</span>
        <!-- <span style="font-size: 12px;">后台管理系统</span> -->
    </div>
    <input type="hidden" name="admin" data-userLevel='${userLevel}'>
    <input type="hidden" name="businessAnnual" value='${businessAnnual}'>
    <!-- 用户行政编码，权限控制作用 -->
    <c:forEach items="${areaList}" var="list">
        <input type="hidden" name="${list.name}" data-name='${list.value.area}' data-id="${list.value.areaCode}">
    </c:forEach>
    <div class="user-operation f-r text-r in-bl">
        <div class="button ">
            <span id='userName' data-id='${userId }'>${realName}</span>
        </div>
        <div class="button ">
            <i class="Hui-iconfont Hui-iconfont-home"></i>
            <a href="welcome#" class="logo_a">首页</a>
        </div>
        <span class="pipe">|</span>
        <div class="button change-pwd">
            <i class="Hui-iconfont Hui-iconfont-key"></i>修改密码
        </div>
        <span class="pipe">|</span>
        <div class="button logout">
            <i class="Hui-iconfont Hui-iconfont-power"></i>退出
        </div>
    </div>
    <!--
                <span class="f-r mr-8" style="font-size: 12px;"><span id='userName' data-id='${userId }'>${realName}</span></span> -->
    <a href="#" class="Hui-nav-toggle Hui-iconfont" aria-hidden="false"></a>
</header>
<aside class="Hui-aside w-220">
    <input runat="server" id="divScrollValue" type="hidden" value="">
    <div class="menu_dropdown bk_2" id="navContainer">
    </div>
    <div class="icon-arrow-div"><i class="Hui-iconfont Hui-iconfont-fenlei icon-arrow lf-220"></i></div>
</aside>
<!-- <div class="dislpayArrow"><a class="pngfix" href="javascript:void(0);" onclick="displaynavbar(this)"></a></div> -->
<section class="Hui-article-box" id="mainContainer"></section>
<script type="text/javascript" src="libs/H-ui.2.1/Lib/prettify.js"></script>
<script src="libs/H-ui.2.1/Lib/jquery.min.js"></script>
<script type="text/javascript" src="libs/H-ui.2.1/static/h-ui/js/H-ui.js"></script>
<script src="libs/H-ui.2.1/Lib/handlebars.js"></script>
<script src="libs/H-ui.2.1/Lib/layer1.8/layer.js"></script>
<script type="text/javascript" src="libs/H-ui.2.1/Lib/icheck/jquery.icheck.min.js"></script>
<script src="libs/ajaxfileupload/ajaxfileupload.js"></script>
<script src="libs/ajaxfileupload/jquery.ui.widget.js"></script>
<script src="libs/ajaxfileupload/jquery.iframe-transport.js"></script>
<script src="libs/ajaxfileupload/jquery.fileupload.js"></script>
<script src="libs/jquery.validate.min.js"></script>
<!--时间插件JS-->
<script type="text/javascript" src="libs/layDate-v5.0.2/laydate/laydate.js"></script>
<!--end of laydate文件-->
<!--zTree文件-->
<script type="text/javascript" src="libs/zTree/js/jquery.ztree.core-3.5.js"></script>
<script type="text/javascript" src="libs/zTree/js/jquery.ztree.excheck-3.5.js"></script>
<!--end of zTree文件-->
<!--编辑器源码文件-->
<script type="text/javascript" src="libs/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="libs/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="libs/ueditor/ueditor.parse.min.js"></script>
<script type="text/javascript" charset="utf-8" src="libs/ueditor/lang/zh-cn/zh-cn.js"></script>
<!--end of 编辑器源码文件-->
<!-- 统计图插件 -->
<script type="text/javascript" src="libs/bootstrap-modal/bootstrap-modal.js"></script>
<script type="text/javascript" src="libs/bootstrap-modal/bootstrap-modalmanager.js"></script>
<!-- 首页图形插件 -->
<script type="text/javascript" charset="utf-8" src="libs/echarts/build/dist/echarts-all.js"></script>
<script type="text/javascript">
    var s_province, s_province_id, s_city, s_city_id, s_cty, s_cty_id, s_cry, s_name, s_cry_id, s_name_id, s_Level;
    s_Level = $("input[name='admin']").attr("data-userLevel"); //获取级别
    if ($("input[name='province']").attr("data-name")) {
        s_province = $("input[name='province']").attr("data-name"); //获取权限省
        s_province_id = $("input[name='province']").attr("data-id"); //获取权限省id
    } else {
        s_province = "";
        s_province_id = "";
    }
    if ($("input[name='city']").attr("data-name")) {
        s_city = $("input[name='city']").attr("data-name"); //获取权限市
        s_city_id = $("input[name='city']").attr("data-id"); //获取权限市id
    } else {
        s_city = "";
        s_city_id = "";
    }
    if ($("input[name='cty']").attr("data-id")) {
        s_cty = $("input[name='cty']").attr("data-name"); //获取权限县
        s_cty_id = $("input[name='cty']").attr("data-id"); //获取权限县id
    } else {
        s_cty = "";
        s_cty_id = "";
    }
    if ($("input[name='cry']").attr("data-id")) {
        s_cry = $("input[name='cry']").attr("data-name"); //获取权限乡
        s_cry_id = $("input[name='cry']").attr("data-id"); //获取权限乡id
    } else {
        s_cry = "";
        s_cry_id = "";
    }
    if ($("input[name='name']").attr("data-id")) {
        s_name = $("input[name='name']").attr("data-name"); //获取权限村
        s_name_id = $("input[name='name']").attr("data-id"); //获取权限村
        console.log("s_name:" + s_name)
    } else {
        s_name = "";
        s_name_id = "";
    }
    //乡村的name名不为乡-cry,村-name时
    if ($("input[name='country']").attr("data-id")) {
        s_cry = $("input[name='country']").attr("data-name"); //获取权限乡
        s_cry_id = $("input[name='country']").attr("data-id"); //获取权限乡id
    } else {
        /*  s_cry = "";
         s_cry_id = ""; */
    }
    if ($("input[name='village']").attr("data-id")) {
        s_name = $("input[name='village']").attr("data-name"); //获取权限村
        s_name_id = $("input[name='village']").attr("data-id"); //获取权限村
    } else {
        /* s_name = "";
        s_name_id = ""; */
    }
    var arr = []; //角色按钮权限数组,根据角色控制页面编辑等按钮是否展示
    $("input[name='buttonPermission']").each(function (i, ele) {
        arr.push($(this).val())
    })
</script>
<script type="text/javascript">
    var counter = 0; //用于计数
    $('.icon-arrow').on('click', function () { //点击箭头，侧栏收缩和伸展
        if (counter % 2 == 0) { //收缩
            $(this).addClass('lf-22').removeClass('lf-220')
            $('.items').addClass('w-60').removeClass('w-220')
            $('.Hui-aside').addClass('w-60').removeClass('w-220')
            $('section,nav').addClass('lf-60').removeClass('lf-220')
            $('nav').addClass('w-94p').removeClass('w-77p')
            $('nav.edit-nav').addClass('lf-35').removeClass('lf-255')
            $('.arrow-list').removeClass('menu_dropdown-arrow Hui-iconfont-arrow2-bottom')
            $('#Huifold .item h4').off('click').children('.info')
            $('.info').addClass('dp-none')
            counter++
        } else { //伸展
            $(this).addClass('lf-220').removeClass('lf-22')
            $('.items').addClass('w-220').removeClass('w-60')
            $('.Hui-aside').addClass('w-220').removeClass('w-60')
            $('section,nav').addClass('lf-220').removeClass('lf-60')
            $('nav').addClass('w-77p').removeClass('w-94p')
            $('nav.edit-nav').addClass('lf-255').removeClass('lf-35')
            $('.arrow-list').addClass('menu_dropdown-arrow Hui-iconfont-arrow2-bottom')
            $.Huifold("#Huifold .item h4", "#Huifold .item .info", "fast", 1, "click");
            $('.info').removeClass('dp-none')
            counter++
        }
    })
</script>
<!--  <script type="text/javascript">
     jQuery(document).ready(function($) {
         $('.Hui-aside').on('scroll', function() {
             var top = $(this).scrollTop();
             $('.nav_icon_css').on('click', function() { //滚动条自动滚回顶部
                 setTimeout(function(){
                     $('.Hui-aside').scrollTop(top)
                 },10)
             })

         })
     });
 </script> -->

<script type="text/javascript" id="common-js" src='js/common.js'></script>
<script type="text/javascript" id="Arthur-js" src="js/Arthur.js"></script>

<!--地图相关-->
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=jp9sKArGWdHbbZ3KATccaZXhIrnlwRbN"></script>
<!--加载检索信息窗口-->
<link rel="stylesheet" href="http://api.map.baidu.com/library/SearchInfoWindow/1.4/src/SearchInfoWindow_min.css"/>
<script type="text/javascript" src="http://api.map.baidu.com/library/SearchInfoWindow/1.4/src/SearchInfoWindow_min.js"></script>
<link rel="stylesheet" href="css/map.css"/>
<script type="text/javascript" src="http://api.map.baidu.com/library/TextIconOverlay/1.2/src/TextIconOverlay_min.js"></script>
<script type="text/javascript" src="http://api.map.baidu.com/library/MarkerClusterer/1.2/src/MarkerClusterer_min.js"></script>
</body>

</html>